/*
 * tpair.h
 *
 *  Created on: Jan 24, 2016
 *      Author: root
 */

#ifndef TPAIR_H_
#define TPAIR_H_

#include "../basic/ds.h"

DEFINE_OPERATOR( car    );
DEFINE_OPERATOR( cdr    );
DEFINE_OPERATOR( cons   );
DEFINE_OPERATOR( setcar );
DEFINE_OPERATOR( setcdr );
INIT_OPERATORS( pair );

Cell* make_pair(Scheme *sc, Cell* a, Cell* b, int immutable);

#endif /* TPAIR_H_ */
